package com.sz.common.base.service.impl;

import com.google.common.eventbus.EventBus;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Function: EventBusBean. <br>
 * Date: 2017年02月17日 14:27 <br>
 * Author: wentao.chang
 */
@Component
public class EventBusBeanFactory {

    @Bean(name = "globleEventBus")
    public EventBus eventBusBean() {
        return new EventBus("globleEventBus");
    }

}
